-- GENERATED SPELL FOR [Dark Iron Lookout] --


function spell0_8566(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8566', 659, 1)
end

function Sorts_8566(pUnit, Event)
local choix_sorts_8566 = math.random(0, 0)
if choix_sorts_8566 == 0 then
pUnit:RegisterEvent('spell0_8566', 1, 1)
end
end

function mob8566_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8566', math.random(1500, 3000), 1)
end

function mob8566_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8566_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8566_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8566, 1, 'mob8566_Action')
RegisterUnitEvent(8566, 2, 'mob8566_Leave')
RegisterUnitEvent(8566, 3, 'mob8566_Kill')
RegisterUnitEvent(8566, 4, 'mob8566_Die')
